@import "mixin";

.slider {
  min-height: 1px;
  .slider-group {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    .slider-item {
      float: left;
      box-sizing: border-box;
      overflow: hidden;
      text-align: center;
      a {
        display: block;
        width: 100%;
        overflow: hidden;
        text-decoration: none;
      }
      img {
        display: block;
        width: 100%;
      }
    }
  }
  .dots {
    position: absolute;
    right: 10px;
    bottom: 10px;
    .dot {
      display: inline-block;
      width: 10px;
      height: 10px;
      background: rgba(255,255,255,.4);
      border-radius: 100%;
      border: 1px solid hsla(0,0%,100%,.6);
      margin: 0 5px;

      :active{
        background: rgba(255,255,255,0);
      }
    }
    .active{
      background: #1c1e25;
    }
  }
}
